-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Print every file exported with PCKPacker.flush()
's verbose parameter
#58520
Print every file exported with PCKPacker.flush()
's verbose parameter
#58520
Conversation
PCKPacker.flush()
s verbose parameterPCKPacker.flush()
's verbose parameter
785d462
to
acc289d
Compare
Previously, only one line per 100 files was printed. This also refactors the print statement to use Godot methods and make it more informative overall.
acc289d
to
8e57e5d
Compare
I assume this was done on purpose to prevent flooding when flushing a PCK with a lot of files. Did you test this with e.g. 10,000 files? |
What's interesting is that prior to this PR, exporting a PCK with 10,000 files only printed one line and not 100:
That line was also not printed to the editor Output panel, only to the terminal (since Now, it does print 10,000 lines, including in the editor Output panel:
Since it's a verbose mode that you enable explicitly, I think it makes sense here. For 4.0, we could also consider removing this |
Thanks! |
Cherry-picked for 3.5. |
Cherry-picked for 3.4.4. |
Previously, only one line per 100 files was printed.
This also refactors the print statement to use Godot methods and make it more informative overall.
This closes #58392.
Testing project: test_pck_export.zip
Preview
Results in: